/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package samoloty.controler;

import samoloty.view.FlightPanel;
import samoloty.view.HelpPanel;
import samoloty.view.MainWindow;
import samoloty.view.MyButton;

/**
 *
 * @author borysfan
 */
public class HelpPanelControler  implements MyControler {
    private HelpPanel panel;
    private Controler controler;

    public HelpPanelControler(Controler c){
        controler = c;
        initPanel();
    }

    public HelpPanel getPanel(){
        return panel;
    }

    public void initPanel(){
        panel = new HelpPanel();
    }

    public void setUpWindow(){
        MainWindow window = controler.getView();

        window.setAllBtnStyle(MyButton.ACTIVE_BUTTON);
        window.setHelpBtnStyle(MyButton.CHOOSE_BUTTON);
    }

    public void firstFocused() {
    }
}
